package com.doupi.partner.rpc.biz;

import com.doupi.partner.model.PageData;
import com.doupi.partner.model.UserRelation;

/**
 * 用户关系
 *
 * @author kxj
 * @version 1.0 @ 2017-04-17 21:56
 **/
public interface UserRelationBiz {

	/**
	 * 添加用户关系
	 *
	 * @param userRelation
	 *            包含用户的mobile,nickname,head_image,user_id,type,business_id
	 * @return int
	 */
	int addUserRelation(UserRelation userRelation);


	PageData<UserRelation> queryUserRelationByPageData(Integer offset, Integer limit, UserRelation userRelation);
}
